export type UploadStatus = "success" | "error" | "loading" | "ready";
export type CheckUpload = (file: File) => boolean | Promise<File>;
export interface UploadFile {
  uid: string;
  size: number;
  name: string;
  status: UploadStatus;
  raw: File;
  resp?: any;
  percentage?: number;
  imgUrl?: string;
}

export interface ChangeParam {
  file?: UploadFile;
  fileList: UploadFile[];
  msg?: string;
}